package manage.service;

import com.sun.scenario.effect.impl.prism.ps.PPSOneSamplerPeer;
import manage.base.BaseService;
import manage.model.Position;
import manage.model.Record;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: create by  Raphaelkxy
 * @version: v1.0
 * @description: manage.service
 * @date:2019/8/28
 */
public interface PoitionServcie{
    //列表
    List<Position>getAll();
    //插入
    int insertrecord(Position record);
    //删除
    int deleteByPrimaryKey(int id);
    //更新
    int updateByPrimaryKey(Position position);

    Position getById(Integer id);

    List<Position>getByfabu();

    List<Position>getByshenhe();

    List<Position>getByfabu0();

    List<Position>getByshenhe0();
}
